#include <Windows.h>
#include <vector>
#include <iostream>

int main(int argc, char* argv[])
{
    for (int i = 0; i < argc; ++i) {
        printf("Argument %d: %s\n", i, argv[0]);
    }
    if (argc == 1)
    {
        if (strcmp(argv[0], "Crash") == 0)
        {
            Sleep(10000);
            std::vector<int> EmptyVec;
            EmptyVec[1] = 1;
        }
        else if (strcmp(argv[0], "NoCrash") == 0)
        {
            Sleep(30000);
        }
        else if (strcmp(argv[0], "Hang") == 0)
        {
            while (true) { int i = 0; }
        }
    }
    return 0;
}